Listing 26 illustrates how to get application access keys of a particular type.
Listing 26 Getting access keys
OSErr myErr = 0;
Str255 keyType = doomCDKeyType;
long flags = 0;
handle keyHdl;
/* handle initialization here */
myErr = QTGetAccessKeys (keyType, flags, keyHdl);
| Previous | Chapter Contents | Chapter Top | Next |